package com.hyg.lib_common.DataModel.QuestionNaire;

import android.os.Parcel;
import android.os.Parcelable;

import org.litepal.crud.LitePalSupport;

import java.util.ArrayList;
import java.util.List;

public class HygSubjectOptions extends LitePalSupport  {
    // 基础属性
    private int id = 0;  //选项序号
    private String QuestionNaireName = "";   //归属何种问卷名称
    private int QuestionNaireId = 0;   //归属何种问卷id
    // 基础属性
    private int SubjectId = 0;   //归属何种题目id
    private List<Integer> list_options_id = new ArrayList<>();   //选项的 ID列表组
    private List<HygOptions> list_options = new ArrayList<>();   //选项组
    private boolean SelectCheck = false;        // 是否选择了该选项(交互显示用)

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQuestionNaireName() {
        return QuestionNaireName;
    }

    public void setQuestionNaireName(String questionNaireName) {
        QuestionNaireName = questionNaireName;
    }

    public int getQuestionNaireId() {
        return QuestionNaireId;
    }

    public void setQuestionNaireId(int questionNaireId) {
        QuestionNaireId = questionNaireId;
    }

    public int getSubjectId() {
        return SubjectId;
    }

    public void setSubjectId(int subjectId) {
        SubjectId = subjectId;
    }

    public List<Integer> getList_options_id() {
        return list_options_id;
    }

    public void setList_options_id(List<Integer> list_options_id) {
        this.list_options_id.clear();
        this.list_options_id.addAll(list_options_id);
    }

    public List<HygOptions> getList_options() {
        return list_options;
    }

    public void setList_options(List<HygOptions> list_options) {
        this.list_options.clear();
        this.list_options.addAll(list_options);
    }

    public boolean isSelectCheck() {
        return SelectCheck;
    }

    public void setSelectCheck(boolean selectCheck) {
        SelectCheck = selectCheck;
    }

    public HygSubjectOptions() {

    }
}
